<template>
  <!-- <router-view name="layer" /> -->
  <AcLayer ref="acRef" v-if="mapInstance.value?.type === AC_NAME" />
</template>
<script lang="ts" setup>
// import { inject, onMounted, ref } from 'vue';
// import AcLayer from './components/ac-layer/index.vue';

// const main = inject<any>('main');
// const { mapInstance, AC_NAME, MARS3D_NAME }: any = main;

// const acRef = ref(null);
// /** 绘制多边形 */
// const psPolygon = () => {
//   acRef.value.getPingshan()
// }

// onMounted(() => {
//   psPolygon()
// })

</script>

<style lang="less" scoped>

</style>
